package com.example.system.service;

import com.example.common.core.Result;
import com.example.system.dto.ResourceParam;

import java.util.List;

public interface ResourceService {
    Result add(ResourceParam resourceParam);

    Result delete(Integer id);

    Result deleteBatch(List<Integer> ids);

    Result update(ResourceParam resourceParam);

    Result select(Integer id);

    Result selectList(Integer page, Integer size);

    Result selectResourcesByRoleId(Integer id);
}
